<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Biometric Embedded Platform: api/inc/fpc_bep_sensor_test.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Biometric Embedded Platform
   &#160;<span id="projectnumber">fpc_bep_kaadas_21.0.1.002</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('fpc__bep__sensor__test_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fpc_bep_sensor_test.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>BEP sensor production test functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br />
<code>#include &quot;<a class="el" href="fpc__bep__types_8h_source.html">fpc_bep_types.h</a>&quot;</code><br />
</div>
<p><a href="fpc__bep__sensor__test_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfpc__bep__contrast__result__t.html">fpc_bep_contrast_result_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contrast test result.  <a href="structfpc__bep__contrast__result__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfpc__bep__analyze__reset__result__t.html">fpc_bep_analyze_reset_result_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analyze reset subtest result.  <a href="structfpc__bep__analyze__reset__result__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfpc__bep__analyze__cb__result__t.html">fpc_bep_analyze_cb_result_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analyze checkerboard and inverted chechekboard subtest result.  <a href="structfpc__bep__analyze__cb__result__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionfpc__bep__analyze__result__t.html">fpc_bep_analyze_result_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analyze test result.  <a href="unionfpc__bep__analyze__result__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:acd671b97dee6f3432ae36a1fcb7e18b5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5">fpc_bep_test_image_size_t</a> { <br />
&#160;&#160;<a class="el" href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5a3f61668be219796639d85e7b3aa06550">FPC_BEP_TEST_IMAGE_LARGE</a> = 0, 
<br />
&#160;&#160;<a class="el" href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5a626f43a7b6299ba2214d683c58dc4dfc">FPC_BEP_TEST_IMAGE_MEDIUM</a> = 1, 
<br />
&#160;&#160;<a class="el" href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5a27f15ce0f0e98e795bb0e0a245039e02">FPC_BEP_TEST_IMAGE_SMALL</a> = 2
<br />
 }<tr class="memdesc:acd671b97dee6f3432ae36a1fcb7e18b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test image size.  <a href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:acd671b97dee6f3432ae36a1fcb7e18b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad262a0e939dafdfa29231f48766425b8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8">fpc_bep_capture_test_mode_t</a> { <br />
&#160;&#160;<a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8a7e4642a3c36a4cc7f72cca93dd264ba4">FPC_BEP_CAPTURE_TEST_MODE_RESET</a> = 0, 
<br />
&#160;&#160;<a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8a0586b1d43e0f88a180dcd38b8b831205">FPC_BEP_CAPTURE_TEST_MODE_CHECKERBOARD</a> = 1, 
<br />
&#160;&#160;<a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8ac6333f2b03cac46cc68d9115751b9301">FPC_BEP_CAPTURE_TEST_MODE_CHECKERBOARD_INVERTED</a> = 2
<br />
 }<tr class="memdesc:ad262a0e939dafdfa29231f48766425b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Capture test modes.  <a href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ad262a0e939dafdfa29231f48766425b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ad1367d79d9f4921065301991fa2bab37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#ad1367d79d9f4921065301991fa2bab37">fpc_bep_sensor_prod_test</a> (void)</td></tr>
<tr class="memdesc:ad1367d79d9f4921065301991fa2bab37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sensor production test.  <a href="#ad1367d79d9f4921065301991fa2bab37">More...</a><br /></td></tr>
<tr class="separator:ad1367d79d9f4921065301991fa2bab37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af217aac418ce35227bcefe9000b1db12"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#af217aac418ce35227bcefe9000b1db12">fpc_bep_sensor_prod_test_capture</a> (<a class="el" href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5">fpc_bep_test_image_size_t</a> image_size)</td></tr>
<tr class="memdesc:af217aac418ce35227bcefe9000b1db12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Captures an image during production test.  <a href="#af217aac418ce35227bcefe9000b1db12">More...</a><br /></td></tr>
<tr class="separator:af217aac418ce35227bcefe9000b1db12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4960b94e48307abfc393fe0c57e44163"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#a4960b94e48307abfc393fe0c57e44163">fpc_bep_sensor_prod_test_mode_capture</a> (<a class="el" href="fpc__bep__types_8h.html#aac8124c8124fff6434f4442baa231459">fpc_bep_image_t</a> *image, <a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8">fpc_bep_capture_test_mode_t</a> mode)</td></tr>
<tr class="memdesc:a4960b94e48307abfc393fe0c57e44163"><td class="mdescLeft">&#160;</td><td class="mdescRight">Captures an image using one of the capture test modes.  <a href="#a4960b94e48307abfc393fe0c57e44163">More...</a><br /></td></tr>
<tr class="separator:a4960b94e48307abfc393fe0c57e44163"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94dade3f80636b4d283aac2128a77e21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#a94dade3f80636b4d283aac2128a77e21">fpc_bep_sensor_prod_test_mode_analyze</a> (<a class="el" href="fpc__bep__types_8h.html#aac8124c8124fff6434f4442baa231459">fpc_bep_image_t</a> *image, <a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8">fpc_bep_capture_test_mode_t</a> mode, <a class="el" href="unionfpc__bep__analyze__result__t.html">fpc_bep_analyze_result_t</a> *test_result)</td></tr>
<tr class="memdesc:a94dade3f80636b4d283aac2128a77e21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analyze image captured in test mode.  <a href="#a94dade3f80636b4d283aac2128a77e21">More...</a><br /></td></tr>
<tr class="separator:a94dade3f80636b4d283aac2128a77e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8bc82869c11bd0d8b509b6050a0cd0b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#aa8bc82869c11bd0d8b509b6050a0cd0b">fpc_bep_sensor_prod_test_contrast</a> (<a class="el" href="fpc__bep__types_8h.html#aac8124c8124fff6434f4442baa231459">fpc_bep_image_t</a> *image, <a class="el" href="structfpc__bep__contrast__result__t.html">fpc_bep_contrast_result_t</a> *test_result)</td></tr>
<tr class="memdesc:aa8bc82869c11bd0d8b509b6050a0cd0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run contrast test on image.  <a href="#aa8bc82869c11bd0d8b509b6050a0cd0b">More...</a><br /></td></tr>
<tr class="separator:aa8bc82869c11bd0d8b509b6050a0cd0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f6b1338c5109b998359db9cd9ca573d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fpc__bep__sensor__test_8h.html#a5f6b1338c5109b998359db9cd9ca573d">fpc_bep_sensor_otp_test</a> (void)</td></tr>
<tr class="memdesc:a5f6b1338c5109b998359db9cd9ca573d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run Otp test.  <a href="#a5f6b1338c5109b998359db9cd9ca573d">More...</a><br /></td></tr>
<tr class="separator:a5f6b1338c5109b998359db9cd9ca573d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>BEP sensor production test functions. </p>
<p>Check for sensor damage during production test.</p>
<dl class="section note"><dt>Note</dt><dd>Before using this API the sensor must be initialized, see <a class="el" href="fpc__bep__sensor_8h.html#a7d7ca04903a7b5f993ac7a4019f97b3e" title="Initializes the fingerprint sensor part of FPC BEP library. ">fpc_bep_sensor_init()</a>.</dd>
<dd>
This is a work-in-progress specification. Implementers are informed that this API may change without providing any backward compatibility. However it is FPC's ambition that the API shall remain compatible between releases. </dd></dl>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ad262a0e939dafdfa29231f48766425b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad262a0e939dafdfa29231f48766425b8">&#9670;&nbsp;</a></span>fpc_bep_capture_test_mode_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8">fpc_bep_capture_test_mode_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Capture test modes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ad262a0e939dafdfa29231f48766425b8a7e4642a3c36a4cc7f72cca93dd264ba4"></a>FPC_BEP_CAPTURE_TEST_MODE_RESET&#160;</td><td class="fielddoc"><p>Capture test image using reset test mode. </p>
</td></tr>
<tr><td class="fieldname"><a id="ad262a0e939dafdfa29231f48766425b8a0586b1d43e0f88a180dcd38b8b831205"></a>FPC_BEP_CAPTURE_TEST_MODE_CHECKERBOARD&#160;</td><td class="fielddoc"><p>Capture test image using checkerboard test mode. </p>
</td></tr>
<tr><td class="fieldname"><a id="ad262a0e939dafdfa29231f48766425b8ac6333f2b03cac46cc68d9115751b9301"></a>FPC_BEP_CAPTURE_TEST_MODE_CHECKERBOARD_INVERTED&#160;</td><td class="fielddoc"><p>Capture test image using checkerboard inverted test mode. </p>
</td></tr>
</table>

</div>
</div>
<a id="acd671b97dee6f3432ae36a1fcb7e18b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd671b97dee6f3432ae36a1fcb7e18b5">&#9670;&nbsp;</a></span>fpc_bep_test_image_size_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5">fpc_bep_test_image_size_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Test image size. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="acd671b97dee6f3432ae36a1fcb7e18b5a3f61668be219796639d85e7b3aa06550"></a>FPC_BEP_TEST_IMAGE_LARGE&#160;</td><td class="fielddoc"><p>Capture test image using all sensor pixels. </p>
</td></tr>
<tr><td class="fieldname"><a id="acd671b97dee6f3432ae36a1fcb7e18b5a626f43a7b6299ba2214d683c58dc4dfc"></a>FPC_BEP_TEST_IMAGE_MEDIUM&#160;</td><td class="fielddoc"><p>Capture test image using 1/4 of all the sensor pixels </p>
</td></tr>
<tr><td class="fieldname"><a id="acd671b97dee6f3432ae36a1fcb7e18b5a27f15ce0f0e98e795bb0e0a245039e02"></a>FPC_BEP_TEST_IMAGE_SMALL&#160;</td><td class="fielddoc"><p>Capture test image using 1/16 of all the sensor pixels </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a5f6b1338c5109b998359db9cd9ca573d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f6b1338c5109b998359db9cd9ca573d">&#9670;&nbsp;</a></span>fpc_bep_sensor_otp_test()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a> fpc_bep_sensor_otp_test </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run Otp test. </p>
<p>This function reads out the otp memory and verifies that it is populated with data.</p>
<dl class="section return"><dt>Returns</dt><dd>:: fpc_bep_result_t </dd></dl>

</div>
</div>
<a id="ad1367d79d9f4921065301991fa2bab37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1367d79d9f4921065301991fa2bab37">&#9670;&nbsp;</a></span>fpc_bep_sensor_prod_test()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a> fpc_bep_sensor_prod_test </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sensor production test. </p>
<p>The test checks that the module meets the requirements. The following tests are performed:</p><ul>
<li>Checkerboard test and inverted checkerboard test</li>
<li>Reset pixel test (only for applicable sensors)</li>
</ul>
<p>To find any dead pixels, checkerboard and reset pixels images are captured and processed by BEP. If too many dead pixels are found the test will fail. The number of dead pixels available as a log output only while using libbep_diag.a</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4" title="Common results returned by BEP functions. ">fpc_bep_result_t</a> </dd></dl>

</div>
</div>
<a id="af217aac418ce35227bcefe9000b1db12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af217aac418ce35227bcefe9000b1db12">&#9670;&nbsp;</a></span>fpc_bep_sensor_prod_test_capture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a> fpc_bep_sensor_prod_test_capture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fpc__bep__sensor__test_8h.html#acd671b97dee6f3432ae36a1fcb7e18b5">fpc_bep_test_image_size_t</a>&#160;</td>
          <td class="paramname"><em>image_size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Captures an image during production test. </p>
<p>This function will put the sensor in idle mode and then capture an image regardless of the sensor coverage.</p>
<p>This is mainly used for testing connectivity of the bezel and is only supported for older sensors without companion chip.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">image_size</td><td>Image capture size. The smaller size, the shorter time for image capture. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4" title="Common results returned by BEP functions. ">fpc_bep_result_t</a> </dd></dl>

</div>
</div>
<a id="aa8bc82869c11bd0d8b509b6050a0cd0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8bc82869c11bd0d8b509b6050a0cd0b">&#9670;&nbsp;</a></span>fpc_bep_sensor_prod_test_contrast()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a> fpc_bep_sensor_prod_test_contrast </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fpc__bep__types_8h.html#aac8124c8124fff6434f4442baa231459">fpc_bep_image_t</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structfpc__bep__contrast__result__t.html">fpc_bep_contrast_result_t</a> *&#160;</td>
          <td class="paramname"><em>test_result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run contrast test on image. </p>
<p>This function will run constrast test on image. The image must have been captured with <a class="el" href="fpc__bep__sensor_8h.html#ab5648089bf85fd31b4adde578783c33d" title="Captures an image from the sensor. ">fpc_bep_capture</a> using a zebra stamp.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">image</td><td>The captured image. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">test_result</td><td><a class="el" href="structfpc__bep__contrast__result__t.html" title="Contrast test result. ">fpc_bep_contrast_result_t</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4" title="Common results returned by BEP functions. ">fpc_bep_result_t</a> </dd></dl>

</div>
</div>
<a id="a94dade3f80636b4d283aac2128a77e21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94dade3f80636b4d283aac2128a77e21">&#9670;&nbsp;</a></span>fpc_bep_sensor_prod_test_mode_analyze()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a> fpc_bep_sensor_prod_test_mode_analyze </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fpc__bep__types_8h.html#aac8124c8124fff6434f4442baa231459">fpc_bep_image_t</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8">fpc_bep_capture_test_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionfpc__bep__analyze__result__t.html">fpc_bep_analyze_result_t</a> *&#160;</td>
          <td class="paramname"><em>test_result</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Analyze image captured in test mode. </p>
<p>This function will analyze the image for the selected mode and report back if too many dead pixels were detected. The image must have been captured with the selected mode using <a class="el" href="fpc__bep__sensor__test_8h.html#a4960b94e48307abfc393fe0c57e44163" title="Captures an image using one of the capture test modes. ">fpc_bep_sensor_prod_test_mode_capture</a>. mode <a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8" title="Capture test modes. ">fpc_bep_capture_test_mode_t</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">image</td><td>The captured image. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>Image capture test mode. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">test_result</td><td>::fpc_bep_anaylyze_result_t. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4" title="Common results returned by BEP functions. ">fpc_bep_result_t</a> </dd></dl>

</div>
</div>
<a id="a4960b94e48307abfc393fe0c57e44163"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4960b94e48307abfc393fe0c57e44163">&#9670;&nbsp;</a></span>fpc_bep_sensor_prod_test_mode_capture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4">fpc_bep_result_t</a> fpc_bep_sensor_prod_test_mode_capture </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="fpc__bep__types_8h.html#aac8124c8124fff6434f4442baa231459">fpc_bep_image_t</a> *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8">fpc_bep_capture_test_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Captures an image using one of the capture test modes. </p>
<p>This function will put the sensor in idle mode and then capture an image using the selected mode <a class="el" href="fpc__bep__sensor__test_8h.html#ad262a0e939dafdfa29231f48766425b8" title="Capture test modes. ">fpc_bep_capture_test_mode_t</a>.</p>
<p>This can be useful to evaluate the images outside the lib.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">image</td><td>The captured image. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>Image capture test mode. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="fpc__bep__types_8h.html#adf46f9c3966202d9cf52a82981adaea4" title="Common results returned by BEP functions. ">fpc_bep_result_t</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_0188a3e6da905bc60aceb35bf790b8c9.html">api</a></li><li class="navelem"><a class="el" href="dir_d218fd71c02742082feaad64e43c1ecd.html">inc</a></li><li class="navelem"><a class="el" href="fpc__bep__sensor__test_8h.html">fpc_bep_sensor_test.h</a></li>
    <li class="footer">Generated on Tue Nov 9 2021 12:12:59 for Biometric Embedded Platform by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
